// 推荐歌单

module.exports = (query, request) => {
  // const data = {
  //   limit: query.limit || 30,
  //   // offset: query.offset || 0,
  //   total: true,
  //   n: 1000,
  // }
  // return request(
  //   'POST',
  //   `https://music.163.com/weapi/personalized/playlist`,
  //   data,
  //   {
  //     crypto: 'weapi',
  //     cookie: query.cookie,
  //     proxy: query.proxy,
  //     realIP: query.realIP,
  //   },
  // )
  return new Promise(function(resolve, reject){
    resolve({
      status: 200, // The Http Response Code
      body: {
          "hasTaste": false,
          "code": 200,
          "category": 0,
          "result": [
              {
                  "id":1,
                  "name": "经典老歌再续当年情",
                  "picUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/personal1.jpg",
                  "playCount": 27168114,
              },
              {
                  "id":2,
                  "name": "一个摩羯座的听歌列表",
                  "picUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/personal2.jpg",
                  "playCount": 78477120,
              },
              {
                  "id":3,
                  "name": "假如能回到过去",
                  "picUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/personal3.jpg",
                  "playCount": 25716038,
              },
              {
                  "id":4,
                  "name": "假期健身跑步必备",
                  "picUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/personal4.jpg",
                  "playCount": 27222410,
              },
              {
                  "id":5,
                  "name": "华语民谣，你心中的诗和远方",
                  "picUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/personal5.jpg",
                  "playCount": 46088040,
              },
              { 
                  "id":6,
                  "name": "香港电影中的50首经典歌曲[追忆录]",
                  "picUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/personal6.jpg",
                  "playCount": 42732428,
              },
              {
                  "id":7,
                  "name": "温柔点吧，这个世界已经够够的了",
                  "picUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/personal7.jpg",
                  "playCount": 42668308,
              },  
              {
                  "id":8,
                  "name": "你有没有放弃过一个爱了很久的人？",
                  "picUrl": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/personal8.jpg",
                  "playCount": 37462740,
                  
              }
          ]
      }, // API Response body
    cookie: []
    });
  })
}
